<%@ page language="java" import="java.util.*,com.king.cms.common.*,com.king.cms.db.QueryPage" pageEncoding="utf-8"%>
<%@ include file="/hotel/include/css.jsp"%><%-- /*包含css样式表*/ --%>
  <%
    
   String userStr = (String)request.getAttribute("userStr");
     QueryPage query=(QueryPage)request.getAttribute("query");
   String pageStr = "";
   if(query != null)
     pageStr = query.getPageStr();
   List dataList = new ArrayList();
   if(query.getDataList() != null)
     dataList=query.getDataList(); 
	String hyzt = (String)request.getAttribute("hyzt");
	String fbrq = null;//(String)request.getAttribute("fbrq");
	String unit_cn = (String)request.getAttribute("unit_cn");
	String unit_en = (String)request.getAttribute("unit_en");
	String start = null;//(String)request.getAttribute("start");
	String end = null;//(String)request.getAttribute("end");
	String fbtype = (String)request.getAttribute("fbtype");
	String lcdStr = (String)request.getAttribute("lcdStr");
   %>
   <%@ include file="date.jsp"%><%-- /*包含css样式表*/ --%>
<html>
<head>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<title>会议查询</title>
 <script language="JavaScript" src="<%=path%>/js/generalcheck.js"></script> 
<script language="javascript">
  function docheck(){
    form1.submit();
 }
 function ki_inquiry(){
		 form1.action="<%=path %>/info.do?action=search";
		 form1.submit();
 }
 
</script>
</head>
<body>
 <center>
 <br>
 <br>
 <br>
<form name="form1"   method="post" action="">
<table border="0" cellpadding="4" cellspacing="1" style="border-collapse: collapse; width:95%" bordercolor="#111111" class="bg_table" width="80%" height="180" align="center">
   
  <tr>
    <td class="top_td" colspan="8" align="center">会议查询</td>
  </tr>  
  <tr class="td2" height="20"> 
    <td   align="right" width="15%">会议主题:</td> 
    <td   align="center" width="35%"><input type="text"  name="hyzt" style="width:98%" value="<%=hyzt==null?"":hyzt %>" class="area100"   ></td>
    <td   align="right" width="15%">发布类型:</td>
    <td   align="center">
    <select name=fbtype style=width:96%>
    <option value="" >请选择发布类型</option>
    <option value=0 <%if(null != fbtype&&"0".equals(fbtype)){ out.println(" selected");} %>>会议</option>
    <option value=1 <%if(null != fbtype&&"1".equals(fbtype)){ out.println(" selected");} %>>PPS</option>
    <option value=2 <%if(null != fbtype&&"2".equals(fbtype)){ out.println(" selected");} %>>视频</option>
    
    </td>
  
  </tr>  
   <tr class="td2" height="20"> 
    <td   align="right">主办单位(中文):</td>
    <td   align="center"><input type="text"  name="unit_cn" style="width:98%"  value="<%=unit_cn==null?"":unit_cn %>" class="area100"   ></td>
     <td   align="right">主办单位(英文):</td>
     <td   align="center"><input type="text"  name="unit_en" style="width:98%" value="<%=unit_en==null?"":unit_en %>" class="area100"   ></td>
  </tr>   
   <tr class="td2" height="20"> 
    <td   align="right">开始时间:</td>
     <td   align="center"><input type="text"  name="start" style="width:98%" value="<%=start==null?"":start %>" class="area100"  onClick="changediv(this);changeshow2Sj(this);" readonly ></td>
     <td   align="right">结束时间:</td>
     <td   align="center"><input type="text"  name="end" style="width:98%" value="<%=end==null?"":end %>" class="area100"  onClick="changediv(this);changeshow2Sj(this);" readonly ></td>
  </tr>  
   <tr class="td2" height="20"> 
    <td   align="right">发布时间:</td>
     <td   align="center"><input type="text"  name="fbrq" style="width:98%" value="<%=fbrq==null?"":fbrq %>" class="area100"  onClick="changediv(this);changeshow2Sj(this);" readonly ></td>
     <td  align="right">发布人:</td>
     <td   align="center"><%=userStr%></td>
  </tr>   
  <tr class="td2" > 
  <td colspan=4><%=lcdStr %></td>
  </tr>
  <tr height="20" >
    <td class="top_td" colspan="6" align="center"><input type="button" class="area100" onclick="ki_inquiry()" value="查询">&nbsp;&nbsp;<input type="button" class="area100" onclick="window.close()" value="关闭"></td>
  </tr>
</table>
</form> 
<table  border="0" cellpadding="4" cellspacing="1" style="width:95%" class="bg_table" bordercolor="#111111"   id="AutoNumber2">
   
  <tr align="center" class="top_td"> 
		<td height="20" width="10%">序号</td>
		 
		<td height="20" width="20%">主办单位</td>
		<td height="20" width="20%">会议主题</td>
		<td height="20" width="10%">开始时间</td>
		<td height="20" width="10%">结束时间</td>
		<td height="20" width="5%" nowrap>发布人</td>
		<td height="20" width="10%">发布时间</td>
		<td height="20" width="10%">发布终端</td>
		<td height="20" width="5%" nowrap>发布类型</td>
  </tr> 
   <%if(null !=dataList&&dataList.size()>0){
        for(int i=0;i<dataList.size();i++){
                 Map m = (Map)dataList.get(i);
    %>
    <tr <%if(i%2==1){%> class="td2" onMouseOver="this.className='td5'" onMouseOut="this.className='td2'"<%} else {%>class="td3" onMouseOver="this.className='td5'" onMouseOut="this.className='td3'" <%}%> onclick="selmm(this,<%if(m.get("ID") != null) out.print(m.get("ID")); %>)" onMouseOver="this.className='td5'" onMouseOut="this.className='td3'">
      <td width="5%"><%=(query.getCurrentPageNo()-1)*10+(i+1) %></td>
      
      <td align="left">中文:<a title='<%=m.get("MEETING_UNIT_CN")%>'><%=StringUtil.subStr(m.get("MEETING_UNIT_CN")+"",8)%></a><br>英文:<a title='<%=m.get("MEETING_UNIT_EN")%>'><%=StringUtil.subStr(m.get("MEETING_UNIT_EN")+"",8)%></a></td>
      <td><a title='<%=m.get("MEETING_NAME")%>'><%=StringUtil.subStr(m.get("MEETING_NAME")+"",15)%></a></td>
      <td><%=StringUtil.dateTimeSubStr(m.get("MEETING_BEGIN_TIME")+"")%></td>
      <td><%=StringUtil.dateTimeSubStr(m.get("MEETING_END_TIME")+"")%></td>
      <td><%=StringUtil.NULL2Blank(m.get("USER_NAME")+"")%></td>
      <td><%=StringUtil.dateTimeSubStr(m.get("MEETING_PUBLISH_TIME")+"")%></td>
      <td><a href="javaScript:openwindow('<%=path%>/client.do?action=view&meetingId=<%=m.get("ID")%>&type=<%=m.get("MEETING_PUBLISH_TYPE")%>','500','400','_blank')">查看</a></td>
      <td><%=StringUtil.returnInfoName(m.get("MEETING_PUBLISH_TYPE")+"")%></td>
    </tr> 
   
    <% }} else{ %>
 
    <tr class="td2"> 
		<td colspan="10" align="center"><font color="red">没有符合条件的结果</font></td>
	  </tr>
	  <%} %>
     <tr class="top_td1" height="20">
        <td colspan="10" nowrap>
         <%=pageStr %>
        </td>
    </tr>
</table>

</center>
</body>
</html>

 